
#import "PUPDMoreCell.h"

@implementation PUPDMoreCell

-(id)initWithFrame:(CGRect)frame
{
    if (self=[super initWithFrame:frame])
    {
//        self.showImage=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
        
        self.showImage=[[UIImageView alloc]initWithFrame:CGRectMake(self.frame.size.width/2-self.frame.size.width*0.58/2, 5, self.frame.size.width*0.58, self.frame.size.width*0.58)];
//        self.showImage.image=[UIImage imageNamed:@"礼物3"];
//        self.showImage.contentMode=UIViewContentModeScaleAspectFill;
//        self.showImage.clipsToBounds = YES;
//        self.showImage.layer.cornerRadius = 8;
//        self.showImage.backgroundColor=[UIColor colorWithHex:0xF3F3F3];
//        self.showImage.layer.masksToBounds=YES;
        [self addSubview:self.showImage];
        
        
        self.titleLab=[[UILabel alloc]init];
//        self.titleLab.frame=CGRectMake(0, self.frame.size.height-30, self.frame.size.width, 15);
        self.titleLab.frame=CGRectMake(0, self.showImage.frame.origin.y+self.showImage.frame.size.height+8, self.frame.size.width, 15);
        self.titleLab.font=[UIFont systemFontOfSize:12];
        self.titleLab.textAlignment=NSTextAlignmentCenter;
        self.titleLab.textColor=[UIColor blackColor];
        [self addSubview:self.titleLab];
        
      
    }
     return self;
}
@end
